package com.kun.learn.feign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright (C), 2011-2017 温州贷
 * FileName: com.kun.learn.feign.HiController.java
 * Author: shijikun
 * Email: shijikun@wzdai.com
 * Date: 30/10/2017 09:59
 * Description:
 * History:
 */
@RestController
public class HiController {
    @Autowired
    ScheduleServiceHi scheduleServiceHi;

    @GetMapping("hi")
    public String sayHi(){
        return scheduleServiceHi.sayHi();
    }
}
